public class Test {
    public static void main(String[] args) {
        String str1 = "abcdefbcd";
        int index = str1.indexOf('f');
        System.out.println("str1 = " + index);

        String str2 = String.valueOf(3.14159);
        System.out.println("str2 = " + str2);
    }
}
